package biz.ezcom.design.pattern.bridge;

public class Client {
	public static void main(String[] args) {
		MobileSoftware game = new MobileSoftwareGame();
		MobileSoftware notepad = new MobileSoftwareNotepad();
		
		MobileHardware nokia = new MobileHardwareNokia();
		nokia.setMobileSoftware(game);
		nokia.run();
		nokia.setMobileSoftware(notepad);
		nokia.run();
		
		MobileHardware htc = new MobileHardwareHtc();
		htc.setMobileSoftware(game);
		htc.run();
		htc.setMobileSoftware(notepad);
		htc.run();
	}
}
